// Copy Values - Version 4.0
// This Program Sets the value of the first set of popups to the
// value of the second set of popups multiplied by a scale factor.

//      LAYER                                  PROPERTY                     CHANNEL
//      ------                                 ----------                     --------
// 1: layer to copy values to         property copied to          channel of property to copy to
// 2: layer to copy values from     property copied from     channel of property to copy from

scale_factor = 1.0;
value(pop_layer(1), pop_property(1)) [pop_channel(1)] =
  value(pop_layer(2), pop_property(2)) [pop_channel(2)] * scale_factor;
